package com.leezk.order.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.leezk.order.dto.OrderDto;
import com.leezk.order.dto.PayDto;
import com.leezk.order.dto.ResultDTO;
import com.leezk.order.entity.Orders;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author leotong
 * @since 2022-03-16
 */
public interface IOrdersService extends IService<Orders> {

    Page<OrderDto> getOrders(Page<Orders> page);

    List<OrderDto> getAllOrders();

    String createOrder(OrderDto orders);

    boolean payOrder(String orderId);
}
